|
SPRITE MIRRORED
This command will return a one if the specified sprite has been mirrored horizontally, otherwise zero will be returned.
Return Integer=SPRITE MIRRORED(Sprite Number)
Sprite Number
Integer
The sprite number
The command will return a one if the specified sprite has been mirrored horizontally, otherwise zero will be returned
The parameter should be specified using an integer value.
cls
load image "man.bmp",1
sprite 1,100,100,1
sprite 2,200,200,1
wait 1000*8
if sprite mirrored(1)=1 then print "The sprite has been mirrored"
do
loop
end
SPRITE Commands Menu
Index
|